package com.chennan.factory;

import com.chennan.factory.opt.Operation;
import com.chennan.factory.opt.OperationFactory;

public class UserOperation {
 public static void main(String[] args) {
	Operation opt=OperationFactory.createOperation("*");
	opt.setNumberFirst(222.0);
	opt.setNumberSecond(333.1);
	System.out.println(opt.calculate());
}
}
